<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>使用sortable插件实现列表中表项的拖曳排序操作</title>
<script type="text/javascript" src="lib/jquery-2.1.1.js"></script>
<script type="text/javascript" src="lib/jquery-ui.js"></script>
<style type="text/css">
	body{font-size:13px}
	ul{padding:0px;magin:0px;list-style-type:none;width:260px}
	ul li{margin:0 3px 3px 3px;border:solid 1px #ccc;background-color:#eee;padding:0.4em;cursor:move;font-size:1.4em;height:18px;}
</style>
<script type="text/javascript">
	$(function(){
		$("ul").sortable({delay:2,opacity:0.35});
	})
</script>
</head>
<body>

	<ul>
		<li>Item 1</li>
		<li>Item 2</li>
		<li>Item 3</li>
		<li>Item 4</li>
		<li>Item 5</li>
	</ul>
	
</body>
</html>